package com.lier.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.lier.common.valid.group.AddGroup;
import com.lier.common.valid.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 品牌分类关联
 *
 * @author lier
 * @email 664478853@qq.com
 * @date 2025-06-06 14:14:15
 */
@Data
@TableName("pms_category_brand_relation")
public class CategoryBrandRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long id;
	/**
	 * 品牌id
	 */
	@NotNull(groups = {AddGroup.class, UpdateGroup.class}, message = "品牌id不能为空")
	private Long brandId;
	/**
	 * 分类id
	 */
	@NotNull(groups = {AddGroup.class, UpdateGroup.class}, message = "分类id不能为空")
	private Long catelogId;
	/**
	 *
	 */
	private String brandName;
	/**
	 *
	 */
	private String catelogName;

}
